Surface Sections/de

Surface Querschnitte

Menüeintrag
Surface → Querschnitte
Arbeitsbereich
Surface
Standardtastenkürzel
Keiner
Eingeführt in Version
0.19
Siehe auch
Keiner

Beschreibung

Surface Querschnitte wird verwendet, um eine Oberfläche über Kanten zu erstellen, die Querschnitte einer Fläche repräsentieren.

Links: Kontrollkanten (Querprofile). Rechts: Oberfläche, die aus diesen Kanten entsteht.

Anwendung

  1. Make sure you have at least two edges or curves in space. For example, these can be created with tools of the Draft Workbench or the Sketcher.
  2. There are several ways to invoke the tool:
    • Press the Sections... button.
    • Select the Surface → Sections... option from the menu.
  3. Press Add edge.
  4. Use the pointer to pick the desired edges in the 3D view; a preview of the final shape will be shown after selecting two valid edges.
  5. Press OK to complete the operation.

Optionen

Eigenschaften

A Surface Sections (Surface::Sections class) is derived from the basic Part Feature (Part::Feature class, through the Part::Spline subclass), therefore it shares all the latter's properties.

Zusätzlich zu den in Part Formelement beschriebenen Eigenschaften, haben die Querschnitte im Eigenschaften Editor folgende Eigenschaften.

Daten

Querschnitte

Ansicht

Basis

Umdrehen der Oberfläche

The shape of the surface depends on the direction of the chosen edges; if edges are selected and the result is a surface that "twists" on itself, one of the edges may need its list of vertices in the reverse order. See the information in GeomFillSurface for a more complete explanation.

Skripten

Siehe auch: Grundlagen der Skripterstellung in FreeCAD.

The Surface Sections tool can be used in macros and from the Python console by adding the Surface::Sections object.

import FreeCAD as App
import Draft

doc = App.newDocument()

pl1 = App.Placement()
obj1 = Draft.make_circle(50, placement=pl1, face=False, startangle=0, endangle=180)

pl2 = App.Placement(App.Vector(0, 0, 25), App.Rotation())
obj2 = Draft.make_circle(30, placement=pl2, face=False, startangle=0, endangle=180)

points3 = [App.Vector(18, -10, 50),
           App.Vector(12, 10, 50),
           App.Vector(-12, 10, 50),
           App.Vector(-18, -10, 50)]
obj3 = Draft.make_bspline(points3)

points4 = [App.Vector(15, -20, 100),
           App.Vector(0, 6, 100),
           App.Vector(-15, -20, 100)]
obj4 = Draft.make_bspline(points4)
doc.recompute()

surf = doc.addObject("Surface::Sections", "Surface")
surf.NSections = [(obj1, "Edge1"),
                  (obj2, "Edge1"),
                  (obj3, "Edge1"),
                  (obj4, "Edge1")]
doc.recompute()